import sys


class MyC:
    def __init__(self, x):
        self.x = x

    def inc(self, x):
        for i in range(len(self.x)):
            self.x[i] += x


def main():
    myc = MyC([1, 2, 3, 4])
    myc.inc(2)
    print(myc.x)


if __name__ == '__main__':
    sys.exit(main())
